package com.lrkj.back.service;

import java.util.List;
import java.util.Map;

import com.lrkj.back.entity.TbDepartment;
import cn.com.cbons.mamisay.parent.exception.DBException;
import cn.com.cbons.mamisay.parent.service.api.ParentService;

import com.github.pagehelper.PageInfo;

public interface TbDepartmentService extends ParentService<TbDepartment>{
	List<TbDepartment> findAllDepartment()throws DBException;
	PageInfo<TbDepartment> findAllDepartment(Map<String,Object> map)throws DBException;
	//根据名字查到科室对象
	TbDepartment selectBycanshu(String departmentname)throws DBException;
	
	List<TbDepartment> findDepartment(Map<String, Object> map);
	
	TbDepartment findOne(Map<String, Object> map);
} 
